<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Freetype OpenGL: vec2 Union Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="style.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="content"><!-- do not remove this div! -->

<div id="top"><!-- do not remove this div! -->

  
  <div id="titlearea">
    
    <div id="projectname">Freetype OpenGL</div>
    
    
    <div id="projectbrief">A high quality OpenGL text rendering engine for C</div>
    
  </div>
  

<!--

<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Freetype OpenGL
   &#160;<span id="projectnumber">0.1</span>
   </div>
   <div id="projectbrief">A high quality OpenGL text rendering engine for C</div>
  </td>
  
  
  
   
  
 </tr>
 </tbody>
</table>
</div>
-->


<!-- Generated by Doxygen 1.8.0 -->
<script type="text/javascript" src="dynsections.js"></script>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">vec2 Union Reference</div>  </div>
</div><!--header-->
<div class="contents">
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Tuple of 2 floats. </p>
<p>Each field can be addressed using several aliases:</p>
<ul>
<li>First component: <b>x</b> or <b>s</b></li>
<li>Second component: <b>y</b> or <b>t</b> </li>
</ul>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="demo-ansi_8c-example.html#_a16">demo-ansi.c</a>, <a class="el" href="demo-atb-agg_8c-example.html#_a4">demo-atb-agg.c</a>, <a class="el" href="demo-benchmark_8c-example.html#_a4">demo-benchmark.c</a>, <a class="el" href="demo-cartoon_8c-example.html#_a5">demo-cartoon.c</a>, <a class="el" href="demo-console_8c-example.html#_a4">demo-console.c</a>, <a class="el" href="demo-font_8c-example.html#_a4">demo-font.c</a>, <a class="el" href="demo-gamma_8c-example.html#_a11">demo-gamma.c</a>, <a class="el" href="demo-markup_8c-example.html#_a15">demo-markup.c</a>, <a class="el" href="demo-outline_8c-example.html#_a3">demo-outline.c</a>, and <a class="el" href="demo-subpixel_8c-example.html#_a11">demo-subpixel.c</a>.</dd>
</dl></div><table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a7bb6aba63933320eff066133eba98ec6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7bb6aba63933320eff066133eba98ec6"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unionvec2.html#a7bb6aba63933320eff066133eba98ec6">data</a> [2]</td></tr>
<tr class="memdesc:a7bb6aba63933320eff066133eba98ec6"><td class="mdescLeft">&#160;</td><td class="mdescRight">All components at once. <br/></td></tr>
<tr class="memitem:aa31bb593a14f2982b32e6e7f2ff48105"><td class="memItemLeft" ><a class="anchor" id="aa31bb593a14f2982b32e6e7f2ff48105"></a>
struct {</td></tr>
<tr class="memitem:a0ac6c0a0b30a6562e4b50893bbeeac4a"><td class="memItemLeft" >&#160;&#160;&#160;float&#160;&#160;&#160;<a class="el" href="unionvec2.html#a002d3519d48fe3cd79729b5b0ded74bf">x</a></td></tr>
<tr class="memdesc:a0ac6c0a0b30a6562e4b50893bbeeac4a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alias for first component. <br/></td></tr>
<tr class="memitem:a811c5636425c1aa9ffa4ea7fbe67ff9c"><td class="memItemLeft" >&#160;&#160;&#160;float&#160;&#160;&#160;<a class="el" href="unionvec2.html#a6d28b12b511da692550fc9d37b4e9b1d">y</a></td></tr>
<tr class="memdesc:a811c5636425c1aa9ffa4ea7fbe67ff9c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alias for second component. <br/></td></tr>
<tr class="memitem:aa31bb593a14f2982b32e6e7f2ff48105"><td class="memItemLeft" valign="top">};&#160;</td><td class="memItemRight" valign="bottom"></td></tr>
<tr class="memitem:aba77e264ed19bdfa1f5d80f17592dc38"><td class="memItemLeft" ><a class="anchor" id="aba77e264ed19bdfa1f5d80f17592dc38"></a>
struct {</td></tr>
<tr class="memitem:af229a593e45bc1ce5a5b4870d9d294b3"><td class="memItemLeft" >&#160;&#160;&#160;float&#160;&#160;&#160;<a class="el" href="unionvec2.html#afea9bd8a0e76cc70241ad399d4a6c733">s</a></td></tr>
<tr class="memdesc:af229a593e45bc1ce5a5b4870d9d294b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alias for first component. <br/></td></tr>
<tr class="memitem:ae646135b0b5cc1ba1182abad5d405142"><td class="memItemLeft" >&#160;&#160;&#160;float&#160;&#160;&#160;<a class="el" href="unionvec2.html#a73b5ac4301fb38f3ef22cb18a5dc4d87">t</a></td></tr>
<tr class="memdesc:ae646135b0b5cc1ba1182abad5d405142"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alias for second component. <br/></td></tr>
<tr class="memitem:aba77e264ed19bdfa1f5d80f17592dc38"><td class="memItemLeft" valign="top">};&#160;</td><td class="memItemRight" valign="bottom"></td></tr>
</table>
</div><!-- contents -->
</div>
</body>
</html>
